package com.zfjt.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zfjt.dao.VersionBeanMapper;
import com.zfjt.entity.VersionBean;
import com.zfjt.service.VersionService;

@Service
public class VersionServiceIpml implements VersionService{
	
	@Autowired
	private VersionBeanMapper mVersion;

	@Override
	public Integer deleteByPrimaryKey(String id) {
		return mVersion.deleteByPrimaryKey(id);
	}

	@Override
	public Integer insert(VersionBean record) {
		return mVersion.insert(record);
	}

	@Override
	public Integer insertSelective(VersionBean record) {
		return mVersion.insertSelective(record);
	}

	@Override
	public VersionBean selectByPrimaryKey(String id) {
		return mVersion.selectByPrimaryKey(id);
	}

	@Override
	public Integer updateByPrimaryKeySelective(VersionBean record) {
		return mVersion.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer updateByPrimaryKey(VersionBean record) {
		return mVersion.updateByPrimaryKey(record);
	}
	
}
